package main
import "fmt"

func main() {
	dict := make(map[string]int)
	dict["lilisi"]  = 60
	dict["Jack"] = 70
	dict["Tom"] = 80
	dict["Lucy"] = 90
	// 遍历key, value
	for k,v := range dict{
		fmt.Printf("%s age is %d\n",k, v)
	}

	// 遍历key
	for k := range dict{
		fmt.Printf("name is %s\n",k)
	}

	// 遍历value
	for _,v := range dict{
		fmt.Printf("age is %d\n",v)
	}
}